/*
 * @Author: wangqizhang
 * @Date: 2024-04-23 16:43:43
 * @LastEditors: wangqizhang
 * @LastEditTime: 2024-04-23 16:51:06
 * @FilePath: /suixinji/src/components/404/index.tsx
 * @Description:
 *
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
 */
import { Result, Button } from 'antd';
export const NotFound = () => {
  const back = () => {
    window.history.back();
  };
  return (
    <Result
      status="404"
      title="404"
      subTitle="对不起，您访问的界面不存在，请返回！"
      extra={
        <Button onClick={() => back()} type="primary">
          返回
        </Button>
      }
    />
  );
};
export default NotFound;
